package com.alm.handle.core.domain.entity.rq;

import lombok.*;

import java.util.List;

/**
 * @author Lynsir
 * @create 2023-04-11 11:29:29
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class MonitorParamsDTO {
    private String deviceId;

    @Singular
    private List<MonitorTypeValueDTO> monitorTypeValues;

    @Singular
    private List<MonitorParams> monitorParams;


    @Data
    @Builder
    @AllArgsConstructor
    @NoArgsConstructor
    public static class MonitorParams{
        private Byte length;
        private Byte type;
        private Integer threshold;
    }

}
